
export const RouterObj = [
  {
    path: '/home',
    name:'home',
    meta:{
      title: '首页',
    },
    element: () => import('../components/layout/home/home'),
    children: [
      {
        meta:{
          title: '表格演示',
        },
        name:'tabletest',
        path: 'tabletest',
        element: () => import('../view/Home/TableTest/TableTest'),
     
      },
      {
        meta:{
          title: '详情页',
        },
        name:'details',
        permission:[123],
        path: 'tabletest/details',
        element: () => import('../view/Home/TableTest/Details'),
      },
      {
        meta:{
          title: '详情页2',
        },
        name:'a',
        path: 'tabletest/details/a', 
        element: () => import('../view/Home/Echarts/Echarts'),
      },
      {
        meta:{
          title: '表单演示',
        },
        name:'formtest',
        path: 'formtest',
        element: () => import('../view/Home/Formtest/Formtest'),
       
      },
      {
        meta:{
          title: 'echarts演示',
        },
        path: 'echarts',
        name:'echarts',
        element: () => import('../view/Home/Echarts/Echarts'),
      },
      {
        meta:{
          title: 'redux的演示',
        },
        name:'redux',
        path: 'redux',
        element: () => import('../view/Home/Redux/Redux'),
      },
      {
        meta:{
          title: 'three的演示',
        },
        name:'three',
        path: 'three',
        element: () => import('../view/Home/Three/Three'),
      },
      {
        meta:{
          title: '首页',
        },
        name:'index',
        path: 'index',
        element: () => import('../view/Home/Index/index'),
      },
      {
        meta:{
          title: '地图',
        },
        name:'map',
        path: 'map',
        element: () => import('../view/Home/Map/Map'),
      },
      {
        meta:{
          title: '流程图',
        },
        name:'FlowChart',
        path: 'FlowChart',
        element: () => import('../view/Home/FlowChart/FlowChart'),
      },{
        meta:{
          title: 'ReactHooks',
        },
        name:'ReactHooks',
        path: 'ReactHooks',
        element: () => import('../view/Home/ReactHooks/ReactHooks'),
      },{
        meta:{
          title: 'antx6',
        },
        name:'ant',
        path: 'ant',
        element: () => import('../view/Home/Antx6/Antx6'),
      },{
        meta:{
          title: 'useCanvas的使用',
        },
        name:'useCanvasDom',
        path: 'useCanvasDom',
        element: () => import('../view/Home/useCanvasDom/useCanvasDom'),
      },{
        meta:{
          title: '过山车',
        },
        name:'ThreeRect',
        path: 'ThreeRect',
        element: () => import('../view/Home/ThreeRect/ThreeRect'),
      },{
        meta:{
          title: '拖拽hook的使用',
        },
        name:'Draggable',
        path: 'Draggable',
        element: () => import('../view/Home/Draggable/Draggable'),
      },
    ]
  }
]
export default RouterObj